package dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
@Schema(name = "ImageAddDTO", title = "新增图片数据模型", description = "新增图片时传递的数据模型")
public class ImageAddDTO {
    @Schema(description = "图片名", requiredMode = Schema.RequiredMode.REQUIRED, example = "怪盗基德")
    private String name;
    @Schema(description = "图片网络资源路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://shop-admin-hdq.oss-cn-beijing.aliyuncs.com/d2db75be-8769-4d2e-bfaa-429363d6d1bf.png")
    private String url;
}
